define(function(require, exports, module) {
  var html = require('html');
  exports.process = function(html){
    $html = $(html);
    var fmlstr = "";
    $html.find("p.text").each(function() {
        fmlstr = fmlstr + "<p class='item'>"+$(this).html()+"</p>";
    });
    return fmlstr;
  }
  exports.onLink = function($link){
    html.loadpage($link.attr('href'),exports.process);
  }
});